from django.urls import re_path
from . import views

urlpatterns = [ 
    re_path(r'^users$',views.RegisterView.as_view()),
    re_path(r'^session$',views.LoginView.as_view()),
    re_path(r'^user$',views.self_center_view.as_view()),
    re_path(r'^user/auth$',views.UserIdentityAuthView.as_view()),
    # re_path(r'^user/avatar$',views.AvatarView.as_view()),
    re_path(r'^user/avatar$',views.set_user_avatar_View.as_view()),
    re_path(r'^user/houses$',views.MyHouses.as_view()),
    re_path(r'^user/name$',views.RenameView.as_view()),
]